load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

# TODO(#746) exclude because gazelle does not recognise the rule below
# gazelle:exclude a
# gazelle:exclude b

go_library(
    name = "a/pkg",
    srcs = ["a/pkg/pkg.go"],
    importpath = "github.com/bazelbuild/rules_go/tests/slash_names/a/pkg",
)

go_library(
    name = "b/pkg",
    srcs = ["b/pkg/pkg.go"],
    importpath = "github.com/bazelbuild/rules_go/tests/slash_names/b/pkg",
)

go_test(
    name = "go_default_test",
    size = "small",
    srcs = ["slash_test.go"],
    deps = [
        ":a/pkg",
        ":b/pkg",
    ],
)
